<%-- 
    Document   : formAtuTurno
    Created on : 24/01/2013, 13:35:05
    Author     : Alessandra
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <style type="text/css">
            label{
                float:left;
                width: 50px;
                margin: 0px 15px 5px 0px;
            } 

            input{
                margin: 0px 15px 5px 0px;
            }
        </style>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Atualizando </title>
        <jsp:useBean id="Turno" class="br.com.senac.entidades.Turno" scope="session"/>
    </head>
    <body>
        <h1>Atualizar</h1>
        <div id="principal" style="width: 500px; margin: 0px auto;">
            <fieldset>
                <legend>Alterando</legend>
                <form method="POST" action="ControleTurno?cmd=alterar">
                    <label for="id">ID:</label>
                    <input id="id" name="id" type="hidden" value="${turno.id}" readonly="readonly"/>                    
                    <label for="periodo">Período:</label>
                    <input id="periodo" name="periodo" type="text"  value="${turno.periodo}"/> <br/>
                    <label for="descricao">Período:</label>
                    <input id="descricao" name="descricao" type="text"  value="${turno.descricao}"/> <br/>

                    <input value="Alterar" type="submit"/>
                    <a href="javascript:window.history.go(-1)">
                        <input type="button"  value="Cancelar"/>
                    </a>
                </form>

            </fieldset>
        </div>
    </body>
</html>